<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>小卢测试专用</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<form id="form1" action="/api/shop_dish/add" method="post">

    <div class="form-control">
        商家id:<input type="text" name="shop_id" value="1" />

    </div>
    <div class="form-control">
    菜单id:<input type="text" name="menu_id" value="6" />
    </div>
    <div class="form-control">
        价格： <input type="text" name="price" />
    </div>
    <div class="form-control">
        折扣：<input type="text" name="discount" />
    </div>
    <div class="form-control">
        菜式名称：<input type="text" name="dishes_name" />
    </div>
    <div class="form-control">
       图片 <input type="text" name="thumb" value="/a.jpg" />
    </div>
    <div class="form-control">
        是否多规格<input type="text" name="is_attr" value="0" />
    </div>
    <hr />
    多规格
    <div class="form-control">
        <input type="text" name="spec_arr[0][attribute]" />
        <input type="text" name="spec_arr[0][spec]" />
    </div>
    <br>
    <div class="form-control">
        <input type="text" name="spec_arr[1][attribute]" />
        <input type="text" name="spec_arr[1][spec]" />
    </div>
    <br>
    {{--<div class="form-control">--}}
        {{--<input type="text" name="infos[3][name]" />--}}
        {{--<input type="text" name="infos[3][num]" />--}}
    {{--</div>--}}
    {{--......--}}
    <input type="submit" value="Submit" />
</form>
</body>
</html>